The SimpleMenu Component > FSimpleMenu.getClickHandler()

 

FSimpleMenu.getClickHandler()

Availability

Flash Player 6.

Usage

sm_instance.getClickHandler()

Parameters

None.

Returns

An object with two properties: functionName and obj.

Description

Retrieves an object with the Click Handler function's name and a reference to the object in which it resides.

Example

The following sends the name of the Click Handler function to the output window:

trace(sm.getClickHandler().functionName);

See also

FSimpleMenu.setButtonWidth